package com.hotacorp.opencloud.logservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import com.hotacorp.opencloud.common.resourcecommon.annotation.EnableOpenCloudResourceServer;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 日志记录服务启动器，本实现是利用MySQL保存日志，也可以用其他持久化方案，如：ES
 * @author lwg
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableOpenCloudResourceServer
@EnableSwagger2
public class LogServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(LogServiceApplication.class, args);
	}

}
